home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 869 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  673 b 

  1. Path: news.bridge.net!news
  2. From: David Byrden <100101.2547@compuserve.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Can someone help me with objects and functions?
  5. Date: 7 Jan 1996 22:38:40 GMT
  6. Organization: self-employed
  7. Message-ID: <4cpi1g$hlc@news.bridge.net>
  8. References: <DKM0M3.AoB@news.zippo.com>
  9. NNTP-Posting-Host: ppp-mia1-39.bridge.net
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
  14.  
  15.  
  16. Timothy;
  17.  
  18. Without seeing your code, I would guess that you are passing
  19. the ofstream object by value, which actually causes a
  20. duplicate of it to be made. Pass by reference instead.
  21.  
  22.    David
  23.  
  24.  
  25.